home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-02-07 | 1.4 KB | 66 lines | [TEXT/MPS ] |
- # Default Make Rules for Modula-2
-
- M2FLAGS = -nocheck
- ASMFLAGS =
-
- # create symbol file from definition file
- .msym ƒ .def
- modula2 {M2FLAGS} ∂
- -output {Targ} ∂
- {DepDir}{Default}.def
-
- # create object file from implementation file
- .mod.o ƒ .mod
- modula2 {M2FLAGS} ∂
- -output {Targ} ∂
- {DepDir}{Default}.mod
-
- # create assembler source file from implementation file
- .mod.a ƒ .mod
- modula2 {M2FLAGS} -machine ∂
- -output {Targ} ∂
- {DepDir}{Default}.mod
-
- # create object file from assembler source file
- .mod.o ƒ .mod.a
- asm {ASMFLAGS} ∂
- "{DepDir}{Default}.mod.a -o {DepDir}{Default}.mod.o
-
- # create object application from Modula-2 program source file
- . ƒ .mod
- modula2 {M2FLAGS} ∂
- {DepDir}{Default}.mod
- link -c "MPS " -t "APPL" ∂
- -o {TargDir}{Default} ∂
- {DepDir}{Default}.mod.o ∂
- "{M2libraries}"M2Lib.o ∂
- "{Libraries}"ObjLib.o # object library ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- "{Libraries}"ToolLibs.o
- #------------------------------------------------------
- # dependencies created by GenMake will be here appended:
- #
- #------------------------------------------------------
- "Test.MOD.o" ƒ ∂
- "Test.MOD" ∂
- "Timer.MSYM"
- "Timer.MSYM" ƒ ∂
- "Timer.DEF"
- "Timer.a.o" ƒ ∂
- "Timer.a"
- "Test" ƒ ∂
- "Test.MOD.o" ∂
- "Timer.a.o"
- link ∂
- -o "Test" ∂
- -c "MPS " ∂
- -t "MPST" ∂
- "Test.MOD.o" ∂
- "Timer.a.o" ∂
- "{M2Libraries}"M2Lib.o ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -sg Main=Test,M2_MAIN_SEGMENT
-
-